package fruit;

public class Straw extends Fruit {

    /**
     * 当前价格
     */
    private static Double priceNow=13D;

    /**
     * @param weightBuy 购买的重量
     * @param discount 折扣
     */
    public Straw(Double weightBuy, Double discount) {
        super(priceNow,weightBuy, discount);
    }

    @Override
    public Double getPrice(){
        return super.getPrice();
    }
}
